package abs.domain;

import java.io.Serializable;

import java.lang.StringBuilder;

import java.math.BigDecimal;

import java.util.Calendar;
import java.util.Set;

import javax.persistence.Id;
import javax.persistence.NamedQueries;
import javax.persistence.NamedQuery;

import javax.xml.bind.annotation.*;

import javax.persistence.*;

/**
 */

@Entity
@NamedQueries({
		@NamedQuery(name = "findAllClientess", query = "select myClientes from Clientes myClientes"),
		@NamedQuery(name = "findClientesByCl100cedu", query = "select myClientes from Clientes myClientes where myClientes.cl100cedu = ?1"),
		@NamedQuery(name = "findClientesByCl100ceduContaining", query = "select myClientes from Clientes myClientes where myClientes.cl100cedu like ?1"),
		@NamedQuery(name = "findClientesByCl100cgre", query = "select myClientes from Clientes myClientes where myClientes.cl100cgre = ?1"),
		@NamedQuery(name = "findClientesByCl100ciud", query = "select myClientes from Clientes myClientes where myClientes.cl100ciud = ?1"),
		@NamedQuery(name = "findClientesByCl100ciudContaining", query = "select myClientes from Clientes myClientes where myClientes.cl100ciud like ?1"),
		@NamedQuery(name = "findClientesByCl100cocl", query = "select myClientes from Clientes myClientes where myClientes.cl100cocl = ?1"),
		@NamedQuery(name = "findClientesByCl100cont", query = "select myClientes from Clientes myClientes where myClientes.cl100cont = ?1"),
		@NamedQuery(name = "findClientesByCl100contContaining", query = "select myClientes from Clientes myClientes where myClientes.cl100cont like ?1"),
		@NamedQuery(name = "findClientesByCl100ctacr", query = "select myClientes from Clientes myClientes where myClientes.cl100ctacr = ?1"),
		@NamedQuery(name = "findClientesByCl100ctacrContaining", query = "select myClientes from Clientes myClientes where myClientes.cl100ctacr like ?1"),
		@NamedQuery(name = "findClientesByCl100ctadb", query = "select myClientes from Clientes myClientes where myClientes.cl100ctadb = ?1"),
		@NamedQuery(name = "findClientesByCl100ctadbContaining", query = "select myClientes from Clientes myClientes where myClientes.cl100ctadb like ?1"),
		@NamedQuery(name = "findClientesByCl100cupo", query = "select myClientes from Clientes myClientes where myClientes.cl100cupo = ?1"),
		@NamedQuery(name = "findClientesByCl100diof", query = "select myClientes from Clientes myClientes where myClientes.cl100diof = ?1"),
		@NamedQuery(name = "findClientesByCl100diofContaining", query = "select myClientes from Clientes myClientes where myClientes.cl100diof like ?1"),
		@NamedQuery(name = "findClientesByCl100dscp", query = "select myClientes from Clientes myClientes where myClientes.cl100dscp = ?1"),
		@NamedQuery(name = "findClientesByCl100emai", query = "select myClientes from Clientes myClientes where myClientes.cl100emai = ?1"),
		@NamedQuery(name = "findClientesByCl100emaiContaining", query = "select myClientes from Clientes myClientes where myClientes.cl100emai like ?1"),
		@NamedQuery(name = "findClientesByCl100fact", query = "select myClientes from Clientes myClientes where myClientes.cl100fact = ?1"),
		@NamedQuery(name = "findClientesByCl100factContaining", query = "select myClientes from Clientes myClientes where myClientes.cl100fact like ?1"),
		@NamedQuery(name = "findClientesByCl100fade", query = "select myClientes from Clientes myClientes where myClientes.cl100fade = ?1"),
		@NamedQuery(name = "findClientesByCl100fadeContaining", query = "select myClientes from Clientes myClientes where myClientes.cl100fade like ?1"),
		@NamedQuery(name = "findClientesByCl100fead", query = "select myClientes from Clientes myClientes where myClientes.cl100fead = ?1"),
		@NamedQuery(name = "findClientesByCl100feadAfter", query = "select myClientes from Clientes myClientes where myClientes.cl100fead > ?1"),
		@NamedQuery(name = "findClientesByCl100feadBefore", query = "select myClientes from Clientes myClientes where myClientes.cl100fead < ?1"),
		@NamedQuery(name = "findClientesByCl100femo", query = "select myClientes from Clientes myClientes where myClientes.cl100femo = ?1"),
		@NamedQuery(name = "findClientesByCl100femoAfter", query = "select myClientes from Clientes myClientes where myClientes.cl100femo > ?1"),
		@NamedQuery(name = "findClientesByCl100femoBefore", query = "select myClientes from Clientes myClientes where myClientes.cl100femo < ?1"),
		@NamedQuery(name = "findClientesByCl100load", query = "select myClientes from Clientes myClientes where myClientes.cl100load = ?1"),
		@NamedQuery(name = "findClientesByCl100loadContaining", query = "select myClientes from Clientes myClientes where myClientes.cl100load like ?1"),
		@NamedQuery(name = "findClientesByCl100lomo", query = "select myClientes from Clientes myClientes where myClientes.cl100lomo = ?1"),
		@NamedQuery(name = "findClientesByCl100lomoContaining", query = "select myClientes from Clientes myClientes where myClientes.cl100lomo like ?1"),
		@NamedQuery(name = "findClientesByCl100nocia", query = "select myClientes from Clientes myClientes where myClientes.cl100nocia = ?1"),
		@NamedQuery(name = "findClientesByCl100nociaContaining", query = "select myClientes from Clientes myClientes where myClientes.cl100nocia like ?1"),
		@NamedQuery(name = "findClientesByCl100nocl", query = "select myClientes from Clientes myClientes where myClientes.cl100nocl = ?1"),
		@NamedQuery(name = "findClientesByCl100noclContaining", query = "select myClientes from Clientes myClientes where myClientes.cl100nocl like ?1"),
		@NamedQuery(name = "findClientesByCl100obse", query = "select myClientes from Clientes myClientes where myClientes.cl100obse = ?1"),
		@NamedQuery(name = "findClientesByCl100obseContaining", query = "select myClientes from Clientes myClientes where myClientes.cl100obse like ?1"),
		@NamedQuery(name = "findClientesByCl100prov", query = "select myClientes from Clientes myClientes where myClientes.cl100prov = ?1"),
		@NamedQuery(name = "findClientesByCl100provContaining", query = "select myClientes from Clientes myClientes where myClientes.cl100prov like ?1"),
		@NamedQuery(name = "findClientesByCl100rele", query = "select myClientes from Clientes myClientes where myClientes.cl100rele = ?1"),
		@NamedQuery(name = "findClientesByCl100releContaining", query = "select myClientes from Clientes myClientes where myClientes.cl100rele like ?1"),
		@NamedQuery(name = "findClientesByCl100tar1", query = "select myClientes from Clientes myClientes where myClientes.cl100tar1 = ?1"),
		@NamedQuery(name = "findClientesByCl100tar1Containing", query = "select myClientes from Clientes myClientes where myClientes.cl100tar1 like ?1"),
		@NamedQuery(name = "findClientesByCl100tar2", query = "select myClientes from Clientes myClientes where myClientes.cl100tar2 = ?1"),
		@NamedQuery(name = "findClientesByCl100tar2Containing", query = "select myClientes from Clientes myClientes where myClientes.cl100tar2 like ?1"),
		@NamedQuery(name = "findClientesByCl100teo1", query = "select myClientes from Clientes myClientes where myClientes.cl100teo1 = ?1"),
		@NamedQuery(name = "findClientesByCl100teo1Containing", query = "select myClientes from Clientes myClientes where myClientes.cl100teo1 like ?1"),
		@NamedQuery(name = "findClientesByCl100tifa", query = "select myClientes from Clientes myClientes where myClientes.cl100tifa = ?1"),
		@NamedQuery(name = "findClientesByCl100tifaContaining", query = "select myClientes from Clientes myClientes where myClientes.cl100tifa like ?1"),
		@NamedQuery(name = "findClientesByPrimaryKey", query = "select myClientes from Clientes myClientes where myClientes.cl100cocl = ?1") })
@Table(catalog = "absV2", name = "cl100")
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(namespace = "absWeb/abs/domain", name = "Clientes")
public class Clientes implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 */

	@Column(name = "cl100cocl", nullable = false)
	@Basic(fetch = FetchType.EAGER)
	@Id
	@XmlElement
	Integer cl100cocl;
	/**
	 */

	@Column(name = "cl100nocia", length = 2, nullable = false)
	@Basic(fetch = FetchType.EAGER)
	@XmlElement
	String cl100nocia;
	/**
	 */

	@Column(name = "cl100cedu", length = 15)
	@Basic(fetch = FetchType.EAGER)
	@XmlElement
	String cl100cedu;
	/**
	 */

	@Column(name = "cl100nocl", length = 200, nullable = false)
	@Basic(fetch = FetchType.EAGER)
	@XmlElement
	String cl100nocl;
	/**
	 */

	@Column(name = "cl100prov", length = 20)
	@Basic(fetch = FetchType.EAGER)
	@XmlElement
	String cl100prov;
	/**
	 */

	@Column(name = "cl100ciud", length = 15)
	@Basic(fetch = FetchType.EAGER)
	@XmlElement
	String cl100ciud;
	/**
	 */

	@Column(name = "cl100diof", length = 60)
	@Basic(fetch = FetchType.EAGER)
	@XmlElement
	String cl100diof;
	/**
	 */

	@Column(name = "cl100teo1", length = 40)
	@Basic(fetch = FetchType.EAGER)
	@XmlElement
	String cl100teo1;
	/**
	 */

	@Column(name = "cl100emai", length = 60)
	@Basic(fetch = FetchType.EAGER)
	@XmlElement
	String cl100emai;
	/**
	 */

	@Column(name = "cl100rele", length = 30)
	@Basic(fetch = FetchType.EAGER)
	@XmlElement
	String cl100rele;
	/**
	 */

	@Column(name = "cl100cgre")
	@Basic(fetch = FetchType.EAGER)
	@XmlElement
	Integer cl100cgre;
	/**
	 */

	@Column(name = "cl100cont", length = 30)
	@Basic(fetch = FetchType.EAGER)
	@XmlElement
	String cl100cont;
	/**
	 */

	@Column(name = "cl100tar1", length = 2)
	@Basic(fetch = FetchType.EAGER)
	@XmlElement
	String cl100tar1;
	/**
	 */

	@Column(name = "cl100tar2", length = 2)
	@Basic(fetch = FetchType.EAGER)
	@XmlElement
	String cl100tar2;
	/**
	 */

	@Column(name = "cl100dscp", scale = 2, precision = 5)
	@Basic(fetch = FetchType.EAGER)
	@XmlElement
	BigDecimal cl100dscp;
	/**
	 */

	@Column(name = "cl100fact", length = 1)
	@Basic(fetch = FetchType.EAGER)
	@XmlElement
	String cl100fact;
	/**
	 */

	@Column(name = "cl100tifa", length = 1)
	@Basic(fetch = FetchType.EAGER)
	@XmlElement
	String cl100tifa;
	/**
	 */

	@Column(name = "cl100fade", length = 1)
	@Basic(fetch = FetchType.EAGER)
	@XmlElement
	String cl100fade;
	/**
	 */

	@Column(name = "cl100cupo", scale = 2, precision = 13)
	@Basic(fetch = FetchType.EAGER)
	@XmlElement
	BigDecimal cl100cupo;
	/**
	 */

	@Column(name = "cl100obse", length = 30)
	@Basic(fetch = FetchType.EAGER)
	@XmlElement
	String cl100obse;
	/**
	 */

	@Column(name = "cl100ctadb", length = 15)
	@Basic(fetch = FetchType.EAGER)
	@XmlElement
	String cl100ctadb;
	/**
	 */

	@Column(name = "cl100ctacr", length = 15)
	@Basic(fetch = FetchType.EAGER)
	@XmlElement
	String cl100ctacr;
	/**
	 */

	@Column(name = "cl100load", length = 8)
	@Basic(fetch = FetchType.EAGER)
	@XmlElement
	String cl100load;
	/**
	 */
	@Temporal(TemporalType.DATE)
	@Column(name = "cl100fead")
	@Basic(fetch = FetchType.EAGER)
	@XmlElement
	Calendar cl100fead;
	/**
	 */

	@Column(name = "cl100lomo", length = 8)
	@Basic(fetch = FetchType.EAGER)
	@XmlElement
	String cl100lomo;
	/**
	 */
	@Temporal(TemporalType.DATE)
	@Column(name = "cl100femo")
	@Basic(fetch = FetchType.EAGER)
	@XmlElement
	Calendar cl100femo;

	/**
	 */
	@ManyToOne(fetch = FetchType.LAZY)
	@JoinColumns({ @JoinColumn(name = "cl100grpc", referencedColumnName = "grpcl100cdgo", nullable = false) })
	@XmlTransient
	GrupoClientes grupoClientes;
	/**
	 */
	@ManyToOne(fetch = FetchType.LAZY)
	@JoinColumns({ @JoinColumn(name = "cl100tipo", referencedColumnName = "tipocl100cdgo", nullable = false) })
	@XmlTransient
	TipoClientes tipoClientes;

	/**
	 */
	public void setCl100cocl(Integer cl100cocl) {
		this.cl100cocl = cl100cocl;
	}

	/**
	 */
	public Integer getCl100cocl() {
		return this.cl100cocl;
	}

	/**
	 */
	public void setCl100nocia(String cl100nocia) {
		this.cl100nocia = cl100nocia;
	}

	/**
	 */
	public String getCl100nocia() {
		return this.cl100nocia;
	}

	/**
	 */
	public void setCl100cedu(String cl100cedu) {
		this.cl100cedu = cl100cedu;
	}

	/**
	 */
	public String getCl100cedu() {
		return this.cl100cedu;
	}

	/**
	 */
	public void setCl100nocl(String cl100nocl) {
		this.cl100nocl = cl100nocl;
	}

	/**
	 */
	public String getCl100nocl() {
		return this.cl100nocl;
	}

	/**
	 */
	public void setCl100prov(String cl100prov) {
		this.cl100prov = cl100prov;
	}

	/**
	 */
	public String getCl100prov() {
		return this.cl100prov;
	}

	/**
	 */
	public void setCl100ciud(String cl100ciud) {
		this.cl100ciud = cl100ciud;
	}

	/**
	 */
	public String getCl100ciud() {
		return this.cl100ciud;
	}

	/**
	 */
	public void setCl100diof(String cl100diof) {
		this.cl100diof = cl100diof;
	}

	/**
	 */
	public String getCl100diof() {
		return this.cl100diof;
	}

	/**
	 */
	public void setCl100teo1(String cl100teo1) {
		this.cl100teo1 = cl100teo1;
	}

	/**
	 */
	public String getCl100teo1() {
		return this.cl100teo1;
	}

	/**
	 */
	public void setCl100emai(String cl100emai) {
		this.cl100emai = cl100emai;
	}

	/**
	 */
	public String getCl100emai() {
		return this.cl100emai;
	}

	/**
	 */
	public void setCl100rele(String cl100rele) {
		this.cl100rele = cl100rele;
	}

	/**
	 */
	public String getCl100rele() {
		return this.cl100rele;
	}

	/**
	 */
	public void setCl100cgre(Integer cl100cgre) {
		this.cl100cgre = cl100cgre;
	}

	/**
	 */
	public Integer getCl100cgre() {
		return this.cl100cgre;
	}

	/**
	 */
	public void setCl100cont(String cl100cont) {
		this.cl100cont = cl100cont;
	}

	/**
	 */
	public String getCl100cont() {
		return this.cl100cont;
	}

	/**
	 */
	public void setCl100tar1(String cl100tar1) {
		this.cl100tar1 = cl100tar1;
	}

	/**
	 */
	public String getCl100tar1() {
		return this.cl100tar1;
	}

	/**
	 */
	public void setCl100tar2(String cl100tar2) {
		this.cl100tar2 = cl100tar2;
	}

	/**
	 */
	public String getCl100tar2() {
		return this.cl100tar2;
	}

	/**
	 */
	public void setCl100dscp(BigDecimal cl100dscp) {
		this.cl100dscp = cl100dscp;
	}

	/**
	 */
	public BigDecimal getCl100dscp() {
		return this.cl100dscp;
	}

	/**
	 */
	public void setCl100fact(String cl100fact) {
		this.cl100fact = cl100fact;
	}

	/**
	 */
	public String getCl100fact() {
		return this.cl100fact;
	}

	/**
	 */
	public void setCl100tifa(String cl100tifa) {
		this.cl100tifa = cl100tifa;
	}

	/**
	 */
	public String getCl100tifa() {
		return this.cl100tifa;
	}

	/**
	 */
	public void setCl100fade(String cl100fade) {
		this.cl100fade = cl100fade;
	}

	/**
	 */
	public String getCl100fade() {
		return this.cl100fade;
	}

	/**
	 */
	public void setCl100cupo(BigDecimal cl100cupo) {
		this.cl100cupo = cl100cupo;
	}

	/**
	 */
	public BigDecimal getCl100cupo() {
		return this.cl100cupo;
	}

	/**
	 */
	public void setCl100obse(String cl100obse) {
		this.cl100obse = cl100obse;
	}

	/**
	 */
	public String getCl100obse() {
		return this.cl100obse;
	}

	/**
	 */
	public void setCl100ctadb(String cl100ctadb) {
		this.cl100ctadb = cl100ctadb;
	}

	/**
	 */
	public String getCl100ctadb() {
		return this.cl100ctadb;
	}

	/**
	 */
	public void setCl100ctacr(String cl100ctacr) {
		this.cl100ctacr = cl100ctacr;
	}

	/**
	 */
	public String getCl100ctacr() {
		return this.cl100ctacr;
	}

	/**
	 */
	public void setCl100load(String cl100load) {
		this.cl100load = cl100load;
	}

	/**
	 */
	public String getCl100load() {
		return this.cl100load;
	}

	/**
	 */
	public void setCl100fead(Calendar cl100fead) {
		this.cl100fead = cl100fead;
	}

	/**
	 */
	public Calendar getCl100fead() {
		return this.cl100fead;
	}

	/**
	 */
	public void setCl100lomo(String cl100lomo) {
		this.cl100lomo = cl100lomo;
	}

	/**
	 */
	public String getCl100lomo() {
		return this.cl100lomo;
	}

	/**
	 */
	public void setCl100femo(Calendar cl100femo) {
		this.cl100femo = cl100femo;
	}

	/**
	 */
	public Calendar getCl100femo() {
		return this.cl100femo;
	}

	/**
	 */
	public void setGrupoClientes(GrupoClientes grupoClientes) {
		this.grupoClientes = grupoClientes;
	}

	/**
	 */
	public GrupoClientes getGrupoClientes() {
		return grupoClientes;
	}

	/**
	 */
	public void setTipoClientes(TipoClientes tipoClientes) {
		this.tipoClientes = tipoClientes;
	}

	/**
	 */
	public TipoClientes getTipoClientes() {
		return tipoClientes;
	}

	/**
	 */
	public Clientes() {
	}

	/**
	 * Copies the contents of the specified bean into this bean.
	 *
	 */
	public void copy(Clientes that) {
		setCl100cocl(that.getCl100cocl());
		setCl100nocia(that.getCl100nocia());
		setCl100cedu(that.getCl100cedu());
		setCl100nocl(that.getCl100nocl());
		setCl100prov(that.getCl100prov());
		setCl100ciud(that.getCl100ciud());
		setCl100diof(that.getCl100diof());
		setCl100teo1(that.getCl100teo1());
		setCl100emai(that.getCl100emai());
		setCl100rele(that.getCl100rele());
		setCl100cgre(that.getCl100cgre());
		setCl100cont(that.getCl100cont());
		setCl100tar1(that.getCl100tar1());
		setCl100tar2(that.getCl100tar2());
		setCl100dscp(that.getCl100dscp());
		setCl100fact(that.getCl100fact());
		setCl100tifa(that.getCl100tifa());
		setCl100fade(that.getCl100fade());
		setCl100cupo(that.getCl100cupo());
		setCl100obse(that.getCl100obse());
		setCl100ctadb(that.getCl100ctadb());
		setCl100ctacr(that.getCl100ctacr());
		setCl100load(that.getCl100load());
		setCl100fead(that.getCl100fead());
		setCl100lomo(that.getCl100lomo());
		setCl100femo(that.getCl100femo());
		setGrupoClientes(that.getGrupoClientes());
		setTipoClientes(that.getTipoClientes());
	}

	/**
	 * Returns a textual representation of a bean.
	 *
	 */
	public String toString() {

		StringBuilder buffer = new StringBuilder();

		buffer.append("cl100cocl=[").append(cl100cocl).append("] ");
		buffer.append("cl100nocia=[").append(cl100nocia).append("] ");
		buffer.append("cl100cedu=[").append(cl100cedu).append("] ");
		buffer.append("cl100nocl=[").append(cl100nocl).append("] ");
		buffer.append("cl100prov=[").append(cl100prov).append("] ");
		buffer.append("cl100ciud=[").append(cl100ciud).append("] ");
		buffer.append("cl100diof=[").append(cl100diof).append("] ");
		buffer.append("cl100teo1=[").append(cl100teo1).append("] ");
		buffer.append("cl100emai=[").append(cl100emai).append("] ");
		buffer.append("cl100rele=[").append(cl100rele).append("] ");
		buffer.append("cl100cgre=[").append(cl100cgre).append("] ");
		buffer.append("cl100cont=[").append(cl100cont).append("] ");
		buffer.append("cl100tar1=[").append(cl100tar1).append("] ");
		buffer.append("cl100tar2=[").append(cl100tar2).append("] ");
		buffer.append("cl100dscp=[").append(cl100dscp).append("] ");
		buffer.append("cl100fact=[").append(cl100fact).append("] ");
		buffer.append("cl100tifa=[").append(cl100tifa).append("] ");
		buffer.append("cl100fade=[").append(cl100fade).append("] ");
		buffer.append("cl100cupo=[").append(cl100cupo).append("] ");
		buffer.append("cl100obse=[").append(cl100obse).append("] ");
		buffer.append("cl100ctadb=[").append(cl100ctadb).append("] ");
		buffer.append("cl100ctacr=[").append(cl100ctacr).append("] ");
		buffer.append("cl100load=[").append(cl100load).append("] ");
		buffer.append("cl100fead=[").append(cl100fead).append("] ");
		buffer.append("cl100lomo=[").append(cl100lomo).append("] ");
		buffer.append("cl100femo=[").append(cl100femo).append("] ");

		return buffer.toString();
	}

	/**
	 */
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = (int) (prime * result + ((cl100cocl == null) ? 0 : cl100cocl.hashCode()));
		return result;
	}

	/**
	 */
	public boolean equals(Object obj) {
		if (obj == this)
			return true;
		if (!(obj instanceof Clientes))
			return false;
		Clientes equalCheck = (Clientes) obj;
		if ((cl100cocl == null && equalCheck.cl100cocl != null) || (cl100cocl != null && equalCheck.cl100cocl == null))
			return false;
		if (cl100cocl != null && !cl100cocl.equals(equalCheck.cl100cocl))
			return false;
		return true;
	}
}
